# -*- coding: utf-8 -*-

import requests
from bs4 import BeautifulSoup

with open('example_02.html') as f:
    content = f.read()

resp = requests.get('https://www.jd.com/')

soup = BeautifulSoup(resp.content, "html.parser")

#print(soup.select('#syncad_0  ul.list-a.news_top  li:nth-child(3)  a'))
link_list = soup.select('li.more2_item')
print(link_list)